package cn.iocoder.yudao.module.common.controller.admin.tagrelation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 标签关系新增/修改 Request VO")
@Data
public class TagRelationSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28992")
    private Long id;

    @Schema(description = "实体ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5437")
    @NotNull(message = "实体ID不能为空")
    private Long entityId;

    @Schema(description = "实体类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "实体类型不能为空")
    private String entityType;

    @Schema(description = "标签ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27191")
    @NotNull(message = "标签ID不能为空")
    private Long tagId;

    @Schema(description = "创建人", example = "芋艿")
    private String creatorName;

    @Schema(description = "更新人", example = "赵六")
    private String updaterName;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "版本号不能为空")
    private Integer version;

}